<?php
require_once 'common/conn.php';

$usercode = $_GET['usercode'];
if (!isset($usercode)) {
    $usercode = $_POST['usercode'];
}

$url = "http://1.lz06.sinaapp.com/server/syncMsg.php?usercode=".$usercode;

$result = file_get_contents($url);

echo json_encode($result);

?>
